package com.yjj.service;

import java.util.List;

import com.yjj.bean.Yjj_teacher;
import com.yjj.util.Pageutil;

public interface Iyjj_teacherService {

	int deleteByPrimaryKey(Integer tid);

    int insert(Yjj_teacher record);

    int insertSelective(Yjj_teacher record);

    Yjj_teacher selectByPrimaryKey(Integer tid);

    int updateByPrimaryKeySelective(Yjj_teacher record);

    int updateByPrimaryKey(Yjj_teacher record);

	List selectByGradeMax4(String string);

	List selectAll(String string);

	Object ifdate(String newDate, String stratdate, Integer tid);

	List getTeacherBysid(Integer sid);

	List getMyattention(Integer uid);

	List getOneUserClearing(Integer uid);

	Object getByTeacherName(String tel);

	Object getByTeacherNameAndClazz(String tel, String pwd);

	int getcount();

	List getTeacherAllAndFenPage(Pageutil p);
}
